   /*******************************************************/
   /*      "C" Language Integrated Production System      */
   /*                                                     */
   /*             CLIPS Version 6.24  06/05/06            */
   /*                                                     */
   /*         DEFGLOBAL BASIC COMMANDS HEADER FILE        */
   /*******************************************************/

/*************************************************************/
/* Purpose:                                                  */
/* Principal Programmer(s):                                  */
/*      Gary D. Riley                                        */
/*                                                           */
/* Contributing Programmer(s):                               */
/*      Brian L. Dantes                                      */
/*                                                           */
/* Revision History:                                         */
/*      6.23: Corrected compilation errors for files         */
/*            generated by constructs-to-c. DR0861           */
/*                                                           */
/*      6.24: Renamed BOOLEAN macro type to intBool.         */
/*                                                           */
/*************************************************************/

#ifndef _H_globlbsc
#define _H_globlbsc

#ifndef _H_evaluatn
#include "evaluatn.h"
#endif

#ifdef LOCALE
#undef LOCALE
#endif

#ifdef _GLOBLBSC_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif

#define GetDefglobalList(a,b) EnvGetDefglobalList(GetCurrentEnvironment(),GetCurrentExecutionStatus(),a,b)
#define GetDefglobalWatch(a) EnvGetDefglobalWatch(GetCurrentEnvironment(),GetCurrentExecutionStatus(),a)
#define ListDefglobals(a,b) EnvListDefglobals(GetCurrentEnvironment(),GetCurrentExecutionStatus(),a,b)
#define SetDefglobalWatch(a,b) EnvSetDefglobalWatch(GetCurrentEnvironment(),GetCurrentExecutionStatus(),a,b)
#define Undefglobal(a) EnvUndefglobal(GetCurrentEnvironment(),GetCurrentExecutionStatus(),a)

   LOCALE void                           DefglobalBasicCommands(void *,EXEC_STATUS);
   LOCALE void                           UndefglobalCommand(void *,EXEC_STATUS);
   LOCALE intBool                        EnvUndefglobal(void *,EXEC_STATUS,void *);
   LOCALE void                           GetDefglobalListFunction(void *,EXEC_STATUS,DATA_OBJECT_PTR);
   LOCALE void                           EnvGetDefglobalList(void *,EXEC_STATUS,DATA_OBJECT_PTR,void *);
   LOCALE void                          *DefglobalModuleFunction(void *,EXEC_STATUS);
   LOCALE void                           PPDefglobalCommand(void *,EXEC_STATUS);
   LOCALE int                            PPDefglobal(void *,EXEC_STATUS,char *,char *);
   LOCALE void                           ListDefglobalsCommand(void *,EXEC_STATUS);
   LOCALE void                           EnvListDefglobals(void *,EXEC_STATUS,char *,void *);
   LOCALE unsigned                       EnvGetDefglobalWatch(void *,EXEC_STATUS,void *);
   LOCALE void                           EnvSetDefglobalWatch(void *,EXEC_STATUS,unsigned,void *);
   LOCALE void                           ResetDefglobals(void *,EXEC_STATUS);

#ifndef _GLOBLBSC_SOURCE_
   extern unsigned                       WatchGlobals;
#endif

#endif


